<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>PGK Training System: {$title|default:'Main Page'}</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script src="js/jquery.js" type="text/javascript" language="javascript"></script>
</head>
<body>
<div id="topPan"><a href="index.php"><img src="images/logo.gif" title="Green Solutions" alt="Green Solutions" width="204" height="57" border="0"/></a>
	<ul>
		<li>{if $component=='home'}
				<span>Home</span>
			{else}
				<a href="index.php?option=mainpage">Home</a>
			{/if}
		</li>
		<li>{if $component=='test'}
				<span>Test</span>
			{else}
				<a href="index.php?option=test">Test</a>
			{/if}</li>
		<li>{if $component=='statistics'}
				<span>Statistics</span>
			{else}
				<a href="index.php?option=statistics">Statistics</a>
			{/if}</li>
		<li>{if $component=='settings'}
				<span>Settings</span>
			{else}
				<a href="index.php?option=settings">Settings</a>
			{/if}</li>
		
	</ul>
</div>

<div id="loginPan">
 <div id="welcomePan">
 <h2>Hi, <b>{$smarty.session.u_login}</b></h2>
 <p>[logout]</p>
 <a href="index.php?option=users&task=logout">&nbsp;</a>
 </div>
</div>

<div id="bodyPan">
  <div id="rightPan">
  <div id="rightPanBorder">
  	<div id="rightbodyPan">
	
<!--<table width="100%" height="100%"><tr><td>-->
<!-- body is placed inside-->